var express = require('express');
var router = express.Router();
var path = require('path');

/* GET home page. */
router.get('/static/:app/:page', function(req, res, next) {
    var page = req.params.page;
    var app = req.params.app;
    var url = "/" + app + "/" + page + ".html";
    res.redirect(url);
});

module.exports = router;
